const express = require("express");
const app = express();
app.listen(3000,()=>{
  console.log("服务器已开启");
});

//加载 router.js模块
const router = require('./router.js');
//将router注册为中间件
app.use(router);



